package com.isoft.mapper;

import com.isoft.pojo.Student;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface StudentMapper {
    //5个方法，findAll,findById,insert,delete,update
    @Select("select * from student limit 0,3")
    List<Student> findAll();
    //省略，自行完成
}
